#ifndef BEIDOUPOWER_H
#define BEIDOUPOWER_H

#include <QThread>


class FrameWindow;

/**
 * @brief recognizes COM of MCU and COM　of Beidou
 */
class BeiDouPower : public QThread
{
    Q_OBJECT
public:
    BeiDouPower();

     explicit  BeiDouPower(FrameWindow *frameWindow);

    // QThread interface
    QString FindMCU_COM();



signals:
     void  single_finish(QString BdComName);




protected:
    virtual void run();

    FrameWindow *parent;
};

#endif // BEIDOUPOWER_H
